//
//  GoodsDetailsTableViewCell.m
//  Store
//
//  Created by Chuz NetTech on 17/4/10.
//  Copyright © 2017年 Chuz NetTech. All rights reserved.
//

#import "GoodsDetailsTableViewCell.h"

@implementation GoodsDetailsTableViewCell


-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    style = UITableViewCellStyleValue1;
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
    }
    return self;
}

- (void)layoutSubviews{
    [super layoutSubviews];
    self.imageView.size = CGSizeMake(9, 10);
    self.imageView.left = 10;
    self.imageView.centerY = self.height / 2.0;
    self.imageView.image = [UIImage imageNamed:@"horn_icon"];
    self.imageView.hidden = YES;
    
    self.textLabel.font = [UIFont systemFontOfSize:13];
    self.textLabel.textColor = [UIColor colorWithHexString:@"4c4c4c"];
    [self.textLabel sizeToFit];
    self.textLabel.left = 10;
    self.textLabel.centerY = self.height / 2.0;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
